<!DOCTYPE html>

<html>
<head>
  <title>messages.coffee</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" media="all" href="public/stylesheets/normalize.css" />
  <link rel="stylesheet" media="all" href="docco.css" />
</head>
<body>
  <div class="container">
    <div class="page">

      <div class="header">
        
          <h1>messages.coffee</h1>
        

        
          <div class="toc">
            <h3>Table of Contents</h3>
            <ol>
              
                
                <li>
                  <a class="source" href="admin.html">
                    admin.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.auditData.html">
                    api.auditData.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.auditEvent.html">
                    api.auditEvent.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.html">
                    api.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.entity.html">
                    api.entity.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.map.html">
                    api.map.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.server.html">
                    api.server.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.variable.html">
                    api.variable.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="api.view.html">
                    api.view.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="app.instance.html">
                    app.instance.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="appjs.html">
                    appjs.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="data.html">
                    data.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="dataUtil.html">
                    dataUtil.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="manager.html">
                    manager.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="messages.html">
                    messages.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="auditData.html">
                    auditData.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="auditEvent.html">
                    auditEvent.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="base.html">
                    base.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="entityDefinition.html">
                    entityDefinition.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="entityObject.html">
                    entityObject.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="eventAction.html">
                    eventAction.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="eventRule.html">
                    eventRule.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="link.html">
                    link.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="map.html">
                    map.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="shape.html">
                    shape.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="user.html">
                    user.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="userSettings.html">
                    userSettings.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="variable.html">
                    variable.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="adminRoutes.html">
                    adminRoutes.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="appRoutes.html">
                    appRoutes.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="settings.html">
                    settings.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="sockets.html">
                    sockets.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="tutorial.html">
                    tutorial.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="vectors.html">
                    vectors.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="statusTabView.html">
                    statusTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="toolsTabView.html">
                    toolsTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="usersTabView.html">
                    usersTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="adminView.html">
                    adminView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="alertView.html">
                    alertView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="auditDataManagerView.html">
                    auditDataManagerView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="auditEventManagerView.html">
                    auditEventManagerView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="baseView.html">
                    baseView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="createMapView.html">
                    createMapView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="entityManagerView.html">
                    entityManagerView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="footerView.html">
                    footerView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="helpView.html">
                    helpView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="entitiesTabView.html">
                    entitiesTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="inspectorTabView.html">
                    inspectorTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="mapTabView.html">
                    mapTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="shapeTabView.html">
                    shapeTabView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="controlsView.html">
                    controlsView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="labelEditView.html">
                    labelEditView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="linkCreatorView.html">
                    linkCreatorView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="linkLabelsView.html">
                    linkLabelsView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="linkView.html">
                    linkView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="shapeLabelsView.html">
                    shapeLabelsView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="shapeView.html">
                    shapeView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="shapesMoverView.html">
                    shapesMoverView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="mapView.html">
                    mapView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="menuView.html">
                    menuView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="overlayView.html">
                    overlayView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="scriptEditorView.html">
                    scriptEditorView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="settingsView.html">
                    settingsView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="startView.html">
                    startView.coffee
                  </a>
                </li>
              
                
                <li>
                  <a class="source" href="variableManagerView.html">
                    variableManagerView.coffee
                  </a>
                </li>
              
            </ol>
          </div>
        
      </div>

      
        
        <h2 id="messages">MESSAGES</h2>

        
      
        
        <p>All, repeating, ALL dynamic messages should be set here!</p>

        
          <div class='highlight'><pre>SystemApp.Messages =</pre></div>
        
      
        
        <h2 id="terms">TERMS</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">accessDenied</span>: <span class="string">"Access denied!"</span>
    <span class="attribute">attention</span>: <span class="string">"Attention!"</span>
    <span class="attribute">auditDataRefresh</span>: <span class="string">"Audit data refresh"</span>
    <span class="attribute">availableSources</span>: <span class="string">"Available sources..."</span>
    <span class="attribute">cancel</span>: <span class="string">"Cancel"</span>
    <span class="attribute">createItem</span>: <span class="string">"Create item"</span>
    <span class="attribute">createMaps</span>: <span class="string">"create maps"</span>
    <span class="attribute">createMapText</span>: <span class="string">"Please enter the new map name..."</span>
    <span class="attribute">createVariable</span>: <span class="string">"Create new variable..."</span>
    <span class="attribute">current</span>: <span class="string">"Current value"</span>
    <span class="attribute">custom</span>: <span class="string">"Custom"</span>
    <span class="attribute">dataOutdated</span>: <span class="string">"Data is not up-to-date!"</span>
    <span class="attribute">dataSaved</span>: <span class="string">"Data saved!"</span>
    <span class="attribute">editThisMap</span>: <span class="string">"edit this map"</span>
    <span class="attribute">elementsSelected</span>: <span class="string">"elements selected"</span>
    <span class="attribute">error</span>: <span class="string">"Error"</span>
    <span class="attribute">invalidRoute</span>: <span class="string">"Invalid route!"</span>
    <span class="attribute">lastUpdate</span>: <span class="string">"Last update"</span>
    <span class="attribute">localMapName</span>: <span class="string">"My Local Map"</span>
    <span class="attribute">mapInfoStats</span>: <span class="string">"#S shapes, #L links"</span>
    <span class="attribute">multipleShapesSelected</span>: <span class="string">"Multiple shapes selected!"</span>
    <span class="attribute">newLink</span>: <span class="string">"NEW LINK"</span>
    <span class="attribute">noIcon</span>: <span class="string">"No icon"</span>
    <span class="attribute">noLabel</span>: <span class="string">"No label"</span>
    <span class="attribute">noLabelsSet</span>: <span class="string">"No labels set..."</span>
    <span class="attribute">noShapeSelected</span>: <span class="string">"No shape(s) or link(s) selected"</span>
    <span class="attribute">pleaseSelectAnAlert</span>: <span class="string">"Please select an alert..."</span>
    <span class="attribute">removeLink</span>: <span class="string">"Remove link"</span>
    <span class="attribute">removeShape</span>: <span class="string">"Remove shape"</span>
    <span class="attribute">rowActionCount</span>: <span class="string">"# action(s)"</span>
    <span class="attribute">rowRuleCount</span>: <span class="string">"# rule(s)"</span>
    <span class="attribute">saved</span>: <span class="string">"Saved!"</span>
    <span class="attribute">saveDetails</span>: <span class="string">"Save details"</span>
    <span class="attribute">saveVariable</span>: <span class="string">"Save variable"</span>
    <span class="attribute">scheduledRefreshAlert</span>: <span class="string">"The app is scheduled to refresh the whole page in a few seconds (#)!&lt;br /&gt;
                            If you do not wish the page to refresh, please click on this panel."</span>
    <span class="attribute">scripted</span>: <span class="string">"Scripted"</span>
    <span class="attribute">searchWatermark</span>: <span class="string">"Search entities..."</span>
    <span class="attribute">server</span>: <span class="string">"SERVER"</span>
    <span class="attribute">startLocalMapText</span>: <span class="string">"Use the Local Test Map to try the System App features."</span></pre></div>
        
      
        
        <h2 id="tooltips">TOOLTIPS</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">tooltipItemId</span>: <span class="string">"Enter the unique ID for this model. No spaces or special characters allowed."</span>
    <span class="attribute">tooltipEventRuleComparator</span>: <span class="string">"Select one of the alert comparator values: equals, not equals,
                                 greater than w/wo, less than w/wo."</span>
    <span class="attribute">tooltipEventRuleSource</span>: <span class="string">"Enter the alert SOURCE value. Can be a static or an audit data value (beginning with #)."</span>
    <span class="attribute">tooltipEventRuleTarget</span>: <span class="string">"Enter the alert TARGET value. Can be a static or an audit data value (beginning with #)."</span>
    <span class="attribute">tooltipEventActionShapeId</span>: <span class="string">"If you want the alert to happen on a specific shape, please enter the Shape ID here.
                                Otherwise it will happen on shapes that have the specified Audit Data property bound."</span>
    <span class="attribute">tooltipEventActionType</span>: <span class="string">"Select one of the action types."</span>
    <span class="attribute">tooltipEventActionValue</span>: <span class="string">"Enter the action value, which relates to its type. For example set the background colour
                              must have a valid colour as value."</span>
    <span class="attribute">tooltipAuditEventTitle</span>: <span class="string">"Please enter the audit event TITLE here."</span>
    <span class="attribute">tooltipCreateVariable</span>: <span class="string">"Click to validate and save the code above as a custom variable."</span>
    <span class="attribute">tooltipVariableCode</span>: <span class="string">"Enter the custom variable name. That value must be UNIQUE!"</span>
    <span class="attribute">tooltipVariableName</span>: <span class="string">"Enter the custom variable code here. You MUST add at least one return
                          clause for it to work properly."</span>
    <span class="attribute">tooltipDeleteItem</span>: <span class="string">"Click to DELETE this item."</span>
    <span class="attribute">tooltipEditItem</span>: <span class="string">"Click to EDIT this item."</span>
    <span class="attribute">tooltipLinker</span>: <span class="string">"Click and drag to create a new link..."</span>
    <span class="attribute">tooltipResize</span>: <span class="string">"Click and drag to resize..."</span>
    <span class="attribute">tooltipShapeAuditEventCheckbox</span>: <span class="string">"Check / uncheck that audit event to the selected shape(s)."</span></pre></div>
        
      
        
        <h2 id="watermarks">WATERMARKS</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">customVarNameWatermark</span>: <span class="string">"Give the variable a name..."</span>
    <span class="attribute">customVarCodeWatermark</span>: <span class="string">"Enter the custom variable code..."</span></pre></div>
        
      
        
        <h2 id="success-messages">SUCCESS MESSAGES</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">okDataSavedLocally</span>: <span class="string">"All entities were persisted to the local storage."</span></pre></div>
        
      
        
        <h2 id="error-messages">ERROR MESSAGES</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">errAuditDataRefreshCount</span>: <span class="string">"Could not refresh # for <span class="subst">#{SystemApp.Settings.auditData.alertOnErrorCount}</span> times in a row.
                               Maybe the URL is wrong? Click on this box to open the Audit Events view for editing."</span>
    <span class="attribute">errCouldNotLoadFromServer</span>: <span class="string">"Could not load data from server!"</span>
    <span class="attribute">errCreatingMap</span>: <span class="string">"Could not create new map."</span>
    <span class="attribute">errEntityOutdated</span>: <span class="string">"Entity #E objects haven't been updated since #D."</span>
    <span class="attribute">errEvalFailed</span>: <span class="string">"Eval failed!"</span>
    <span class="attribute">errEvalReturn</span>: <span class="string">"Eval must have a return statement!"</span>
    <span class="attribute">errInvalidRoute</span>: <span class="string">"The path you have entered does not exist."</span>
    <span class="attribute">errMapDoesNotExist</span>: <span class="string">"The specified map does not exist!"</span>
    <span class="attribute">errMapIsReadOnly</span>: <span class="string">"This map is read-only and cannot be updated."</span>
    <span class="attribute">errMapNameExists</span>: <span class="string">"There's already a map called #."</span>
    <span class="attribute">errNoPermissionTo</span>: <span class="string">"You don't have the necessary permissions to #."</span>
    <span class="attribute">errParseModel</span>: <span class="string">"Error while parsing data from server."</span></pre></div>
        
      
        
        <h2 id="validation-messages">VALIDATION MESSAGES</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">valAllFieldsEmpty</span>: <span class="string">"All fields are empty!"</span>
    <span class="attribute">valDescriptionIsRequired</span>: <span class="string">"A description is required."</span>
    <span class="attribute">valGridSizeTooSmall</span>: <span class="string">"The grid size is too small. Minimum allowed is  <span class="subst">#{SystemApp.Settings.map.minGridSize}</span>."</span>
    <span class="attribute">valHexColour</span>: <span class="string">"Value must be a hex colour."</span>
    <span class="attribute">valInvalidUrl</span>: <span class="string">"The entered URL is not valid."</span>
    <span class="attribute">valLessThanMin</span>: <span class="string">"Minimum accepted value is #."</span>
    <span class="attribute">valMoreThanMax</span>: <span class="string">"Maximum accepted value is #."</span>
    <span class="attribute">valNameIsDuplicate</span>: <span class="string">"The entered name already exists."</span>
    <span class="attribute">valNameIsRequired</span>: <span class="string">"A name is required."</span>
    <span class="attribute">valNoSpecialChars</span>: <span class="string">"No special characters allowed."</span>
    <span class="attribute">valNumeric</span>: <span class="string">"Value must be a number."</span>
    <span class="attribute">valPaperSizeTooSmall</span>: <span class="string">"The paper size too small. Minimum is  <span class="subst">#{SystemApp.Settings.map.minPaperSize}</span>."</span>
    <span class="attribute">valRefreshIntervalTooLow</span>: <span class="string">"Refresh interval too low. Minimum is <span class="subst">#{SystemApp.Settings.auditData.minRefreshInterval}</span>."</span>
    <span class="attribute">valRequired</span>: <span class="string">"This field cannot be empty."</span>
    <span class="attribute">valTitleIsRequired</span>: <span class="string">"A title is required."</span>
    <span class="attribute">valUrl</span>: <span class="string">"The value must be a valid URL."</span></pre></div>
        
      
        
        <h2 id="script-editor-descriptions">SCRIPT EDITOR DESCRIPTIONS</h2>

        
      
        
        
        
          <div class='highlight'><pre>    <span class="attribute">ScriptEditorInfo</span>:
        <span class="attribute">initScript</span>: <span class="string">"The code below will be executed after the map has loaded on the browser."</span></pre></div>
        
      
      <div class="fleur">h</div>
    </div>
  </div>
</body>
</html>
